package org.jeecg.modules.business.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.business.entity.BussContractReviewDes;
import org.jeecg.modules.business.entity.BussContractReviewDesFiles;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 合同评审说明
 * @Author: jeecg-boot
 * @Date:   2024-05-24
 * @Version: V1.0
 */

public interface IBussContractReviewDesService extends IService<BussContractReviewDes> {

	/**
	 * 添加一对多
	 *
	 * @param bussContractReviewDes
	 * @param bussContractReviewDesFilesList
	 */
	public void saveMain(BussContractReviewDes bussContractReviewDes,List<BussContractReviewDesFiles> bussContractReviewDesFilesList) ;
	
	/**
	 * 修改一对多
	 *
   * @param bussContractReviewDes
   * @param bussContractReviewDesFilesList
	 */
	public void updateMain(BussContractReviewDes bussContractReviewDes,List<BussContractReviewDesFiles> bussContractReviewDesFilesList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	IPage<BussContractReviewDes> myPage(Page<BussContractReviewDes> page, QueryWrapper<BussContractReviewDes> queryWrapper);
}
